package proxy.test;


import com.gupao.edu.study.proxy.cglib.CglibProxy;
import com.gupao.edu.study.proxy.cglib.NoInterfaceBean;

public class CglibProxyDemo {
    public static void main(String[] args) {
        NoInterfaceBean noInterfaceBean = (NoInterfaceBean)new CglibProxy().getInstance(NoInterfaceBean.class);
        String result = noInterfaceBean.getName();
        //取不到属性？？？
        System.out.println(result);
    }
}
